meta-toolchain error with latest gcc commit: rpm-createsolvedb.py: command not found
Hi,
I just thought of updating my gcc recipe locally to the latest commit, as follows:
meta/recipes-devtools/gcc/gcc-4.7.inc +3 -3
@@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r9" +PR = "r10" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.7.1
@@ -21,7 +21,7 @@ PV = "4.7.1.0+git${SRCPV}" BINV = "4.7.2" -SRCREV = "d07e24f4ab59f264d68d21838795349faab5dede" +SRCREV = "1653160670db186c6243997447ecbe6ce5056648" BRANCH = "gcc-4_7-branch" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}"
@@ -36,7 +36,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8" -SRC_URI = "git://github.com/mirrors/gcc.git;branch=${BRANCH};protocol=git \ +SRC_URI = "git://gcc.gnu.org/git/gcc.git;branch=${BRANCH};protocol=git \ file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ file://100-uclibc-conf.patch \ file://gcc-uclibc-locale-ctype_touplow_t.patch \
I thought of doing this update, before attempting to debug my Virtex5 PowerPC 440 processor root filesystem boot issues, to take advantage of any new patches and updates to gcc-4.7.2.
When I run bitbake meta-toolchain, I get the following error: rpm-createsolvedb.py: command not found
NOTE: Running task 2060 of 2061 (ID: 7, /tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk)
NOTE: package meta-toolchain-1.0-r7: task do_populate_sdk: Started
ERROR: Function failed: populate_sdk_image (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.48334 for further information)
ERROR: Logfile of failure stored in: /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.48334
Log data follows:
| DEBUG: Executing python function do_populate_sdk | DEBUG: Executing shell function populate_sdk_image | Generating solve db for /tool/yocto/poky/build/tmp/deploy/rpm/ppc440... | /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/run.populate_sdk_image.48334: line 610: rpm-createsolvedb.py: command not found | DEBUG: Python function do_populate_sdk finished | ERROR: Function failed: populate_sdk_image (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.48334 for further information)
NOTE: package meta-toolchain-1.0-r7: task do_populate_sdk: Failed
ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2060 tasks of which 1293 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
the log is
DEBUG: Executing python function do_populate_sdk
DEBUG: Executing shell function populate_sdk_image
Generating solve db for /tool/yocto/poky/build/tmp/deploy/rpm/ppc440... /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/run.populate_sdk_image.48334: line 610: rpm-createsolvedb.py: command not found
DEBUG: Python function do_populate_sdk finished
ERROR: Function failed: populate_sdk_image (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.48334 for further information)
How can I resolve this?
Best regards,
Elvis Dowson
Hi,
Quoted 23 lines · Elvis Dowson
When I run bitbake meta-toolchain, I get the following error:
rpm-createsolvedb.py: command not foundNOTE: Running task 2060 of 2061 (ID: 7, /tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb,
do_populate_sdk)
NOTE: package meta-toolchain-1.0-r7: taskdo_populate_sdk: Started
ERROR: Function failed:populate_sdk_image(see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.48334 for further information)
ERROR: Logfile of failure stored in: /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.48334
Log data follows:| DEBUG: Executing python function do_populate_sdk | DEBUG: Executing shell function populate_sdk_image | Generating solve db for /tool/yocto/poky/build/tmp/deploy/rpm/ppc440... | /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/run.populate_sdk_image.48334: line 610: rpm-createsolvedb.py: command not found | DEBUG: Python function do_populate_sdk finished | ERROR: Function failed: populate_sdk_image (see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.48334 for further information)NOTE: package meta-toolchain-1.0-r7: task
do_populate_sdk: Failed
ERROR: Task 7 (/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb,do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2060 tasks of which 1293 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/tool/yocto/poky/meta/recipes-core/meta/meta-toolchain.bb,do_populate_sdk
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Quoted 9 lines
the log is
DEBUG: Executing python function
do_populate_sdk
DEBUG: Executing shell functionpopulate_sdk_image
Generating solve db for /tool/yocto/poky/build/tmp/deploy/rpm/ppc440... /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/run.populate_sdk_image.48334: line 610:rpm-createsolvedb.py: command not found
DEBUG: Python functiondo_populate_sdkfinished
ERROR: Function failed:populate_sdk_image(see /tool/yocto/poky/build/tmp/work/ppc440-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.48334 for further information)
I also notice that if I run
bitbake core-image-minimal first, and then run bitbake meta-toolchain, I don't get an error.
What should be done to fix this, so that it runs correctly the first time, if I run bitbake meta-toolchain from a clean build?
Elvis Dowson
Quoted 4 lines · Elvis Dowson
When I run bitbake meta-toolchain, I get the following error:
rpm-createsolvedb.py: command not found
yes I have similar problems. see
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-August/027214.html
Quoted 4 lines · Khem Raj
Quoted 1 line · Elvis Dowson
Quoted 8 lines
Quoted 3 lines
When I run bitbake meta-toolchain, I get the following error:
rpm-createsolvedb.py: command not foundyes I have similar problems. see
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-August/027214.html
Maybe something like
http://git.openembedded.org/openembedded-core/commit/meta/classes/populate_sdk_rpm.bbclass?id=8a71c1a507289d38a0f675584ab206abfa9aad9a
is needed?
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Hi,
Quoted 9 lines · Khem Raj
Quoted 1 line · Elvis Dowson
When I run bitbake meta-toolchain, I get the following error:
rpm-createsolvedb.py: command not foundyes I have similar problems. see
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-August/027214.html
The following patch appears to attempt to fix this issue. I think it should be included into oe-core master branch.
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-August/026949.html
How does the process work, e.g. is there some way to track priority patches that fix broken builds, to make sure it gets committed quickly? I know it wouldn't manifest until the gcc-4.7.2 recipe is updated, but still it should be included.
Elvis Dowson
Quoted 3 lines · Elvis Dowson
The following patch appears to attempt to fix this issue. I think it should be included into oe-core master branch.
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-August/026949.html
on the contrary it creates the problem. Did you read my last reply
Hi,
Quoted 8 lines · Khem Raj
Quoted 3 lines · Elvis Dowson
The following patch appears to attempt to fix this issue. I think it should be included into oe-core master branch.
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-August/026949.html
on the contrary it creates the problem. Did you read my last reply
Sorry, I probably didn't read it in the correct order. I jumped to the previous message by mistake on the webpage.
Paul Eggleton's patch would probably fix it. If you run core-image-minimal and then meta-toolchain, we won't get the problem.
Elvis Dowson
Quoted 7 lines · On Saturday 04 August 2012 00:41:14 Elvis Dowson wrote:
Quoted 6 lines · Khem Raj
Quoted 5 lines · Elvis Dowson
The following patch appears to attempt to fix this issue. I think it should be included into oe-core master branch.
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-August/026949
.html>
Quoted 7 lines
Quoted 1 line
on the contrary it creates the problem. Did you read my last reply
Sorry, I probably didn't read it in the correct order. I jumped to the previous message by mistake on the webpage.
Paul Eggleton's patch would probably fix it. If you run core-image-minimal and then meta-toolchain, we won't get the problem.
No, this is a very similar issue, but involves a different dependency. Luckily Khem has sent a patch to fix it.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre